package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import java.util.Date;

@Data
@Alias(value = "dmcWatchDataLocation")
@Table(name = "cn_dmc_watch_data_location")
@EqualsAndHashCode(callSuper = true)
public class DmcWatchDataLocation extends BaseEntity {

    private static final long serialVersionUID = -7352816712115621829L;

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 定位方式 1-gps 2-基站 3-wifi
     */
    @Column(name = "lbs_type")
    private Integer lbsType;

    /**
     * 具体位置
     */
    private String location;

    /**
     * gps位置 纬度值,经度值
     */
    @Column(name = "gps_string")
    private String gpsString;

    /**
     * 百度gps,lat<纬度>,lng<经度>
     */
    @Column(name = "bd_gps")
    private String bdGps;

    /**
     * 具体位置时间
     */
    @Column(name = "location_time")
    private String locationTime;

}